Skip to content

Conversation

jeffbolznv
Copy link
Collaborator

Similar to optimizations I did recently for Q{4-6}_K.

Perf results on RTX 4070:

before
| llama 8B Q2_K - Medium         |   2.95 GiB |     8.03 B | Vulkan     | 1000 |         tg128 |         59.12 ± 0.66 |
| deepseek2 16B Q2_K - Medium    |   5.99 GiB |    15.71 B | Vulkan     | 1000 |         tg128 |        102.23 ± 0.43 |

after
| llama 8B Q2_K - Medium         |   2.95 GiB |     8.03 B | Vulkan     | 1000 |         tg128 |         72.17 ± 0.51 |
| deepseek2 16B Q2_K - Medium    |   5.99 GiB |    15.71 B | Vulkan     | 1000 |         tg128 |        109.92 ± 0.62 |

@jeffbolznv jeffbolznv requested a review from 0cc4m November 23, 2024 02:14
Copy link
Collaborator

@0cc4m 0cc4m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good on Nvidia, AMD and Intel. Thank you.

@0cc4m 0cc4m merged commit 4a57d36 into ggml-org:master Nov 27, 2024
7 checks passed
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants